﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage_EmpDetail.master" AutoEventWireup="true" CodeFile="EmpYearHoliday.aspx.cs" Inherits="Employees_EmpYearHoliday" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
 <InfoLight:WebDataSource ID="Master" runat="server" AutoApply="True" 
            WebDataSetID="WMaster" DataMember="View_YearHolidayDetail">
        </InfoLight:WebDataSource>
        <InfoLight:webgridview id="wgvMaster" runat="server"
            cellpadding="5" datasourceid="Master" forecolor="#333333" width="100%" 
        AbortIconUrl="../Image/UIPics/Abort.gif" AddIconUrl="../Image/UIPics/Add.gif" 
        ApplyIconUrl="../Image/UIPics/Apply.gif" 
        CancelIconUrl="../Image/UIPics/Cancel.gif" 
        MouseOverAbortIconUrl="../Image/UIPics/Abort2.gif" 
        MouseOverAddIconUrl="../Image/UIPics/Add2.gif" 
        MouseOverApplyIconUrl="../Image/UIPics/Apply2.gif" 
        MouseOverCancelIconUrl="../Image/UIPics/Cancel2.gif" 
        MouseOverOKIconUrl="../Image/UIPics/OK2.gif" 
        MouseOverQueryIconUrl="../Image/UIPics/Query2.gif" 
        OKIconUrl="../Image/UIPics/OK.gif" QueryIconUrl="../Image/UIPics/Query.gif" 
        HeaderStyleWrap="False" BackColor="White" BorderColor="White" 
        BorderStyle="Groove" BorderWidth="2px" TotalActive="True" PageSize="15" 
        TotalCaption="可用年假天数" onrowdatabound="wgvMaster_RowDataBound" 
        ShowFooter="True">
            <PagerSettings Mode="NumericFirstLast" />
<FooterStyle BackColor="#CCFFFF" ForeColor="Red" Font-Bold="True" 
                HorizontalAlign="Center" BorderStyle="None"></FooterStyle>
            <navcontrols>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/add2.gif" ControlText="add" 
                    ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/ok2.gif" ControlText="Insert" 
                    ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/cancel2.gif" ControlText="cancel" 
                    ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif"></InfoLight:ControlItem>
</navcontrols>
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="编号" SortExpression="Id" />
                <asp:BoundField DataField="EmpName" HeaderText="员工姓名" 
                    SortExpression="EmpName" />
                <asp:BoundField DataField="Years" HeaderText="年份" SortExpression="Years" 
                     />
                <asp:BoundField DataField="Days" HeaderText="薪假天数" SortExpression="Days" />
                <asp:BoundField DataField="name" HeaderText="请假类型" SortExpression="name" />
                <asp:BoundField DataField="SheetId" HeaderText="请假单加班调休单编号" 
                    SortExpression="SheetId" />
                <asp:BoundField DataField="Remark" HeaderText="备注" 
                    SortExpression="Remark" />
                   

</Columns>


<RowStyle BackColor="#EFF3FB" HorizontalAlign="Center"></RowStyle>

            <totalcolumns >
               <InfoLight:GridViewTotalItem FieldName="Days" />
            </totalcolumns>

<EditRowStyle BackColor="#2461BF"></EditRowStyle>

<SelectedRowStyle BackColor="#D1DDF1" ForeColor="#333333" Font-Bold="True"></SelectedRowStyle>

<PagerStyle BackColor="LightBlue" ForeColor="White" HorizontalAlign="Center"></PagerStyle>

<HeaderStyle BackColor="DeepSkyBlue" ForeColor="White" Font-Bold="True"></HeaderStyle>

<AlternatingRowStyle BackColor="White" BorderColor="White"></AlternatingRowStyle>
</InfoLight:webgridview>
</asp:Content>

